package com.cn.lp;

import com.cn.lp.param.GetRequestParam;
import com.cn.lp.param.HeaderParam;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestParam;

public interface TestApi {

    @GetMapping(value = "/test", produces = {MediaType.APPLICATION_JSON_UTF8_VALUE})
    String test(@RequestParam GetRequestParam param, @RequestHeader HeaderParam header);

}
